﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OnlineManagement.IDAL;
using OnlineManagement.DALFactory;
using System.Data;

namespace OnlineManagement.BLL
{
  public partial class TempRegist
    {
        private readonly ITempRegist dal = DataAccess.CreateTempRegist();
        public TempRegist()
        { }
        #region  BasicMethod

        public bool CreateHoggery(OnlineManagement.Model.TempRegistUsers hoggery, out string returnValue,out int hoggeryId) {
            return dal.CreateHoggery(hoggery, out returnValue,out hoggeryId);
        }

        public int GetHoggeryIdForLogin(string userName) {
            return dal.GetHoggeryIdForLogin(userName);
        }
        #endregion  BasicMethod
        #region  ExtensionMethod

        #endregion  ExtensionMethod
    }
}
